package com.dbs.donatebooksystem.Service;

import com.dbs.donatebooksystem.pojo.Ids;
import com.dbs.donatebooksystem.pojo.Orders;

import java.util.List;
import java.util.Map;

public interface OrderService{
    List<Orders> getOrder();

    void insertOrder(Ids ids);

    void deleteOrder(Integer orderId);

    List<Orders> getOrderByUserId(Integer userId);

    Orders getById(Integer orderId);

    void updateOrderStatus(Integer orderId, Integer newStatus);

    List<Orders> selectOrder(Orders orders);
}
